package com.k.designpattern.singleton.ehan;

public class MyObject {
    private static final MyObject instance = new MyObject();

    // 私有构造器
    private MyObject(){}

    public static MyObject getInstance(){
        return instance;
    }
}
